package com.pacific.sign.dal.dao.pac.custom;

import com.pacific.sign.dal.dao.pac.mbg.PacHcRoleMapper;
import com.pacific.sign.model.po.pac.mbg.PacHcRole;

import java.util.List;

/**
 * 角色
 */
public interface RoleCustom extends PacHcRoleMapper {

    public List<PacHcRole> selectByConditions(PacHcRole obj);

    public int insert(PacHcRole obj);

    public int deleteById(String id);

    public int updateById(PacHcRole obj);

    public PacHcRole selectById(String id);

    /**
     * 根据级别码查询
     */
    public PacHcRole queryByCode(String code);
}
